var E6;
(function (E6) {
    E6[E6["X"] = 0] = "X";
    E6[E6["Y"] = 1] = "Y";
    E6[E6["Z"] = 2] = "Z";
})(E6 || (E6 = {}));
function f(obj) {
    return obj.X;
}
// Works, since 'E6' has a property named 'X' which is a number.
f(E6);
console.log(typeof E6);
